package tech.eyao.hs60x.worker;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;

public abstract class AbstractImageWorker extends AbstractWorker implements BeanFactoryAware {
	protected BeanFactory beanFactory;
	
	@Override
	public void run() {
		doRun();
	}
	
	@Override
	public void setBeanFactory(BeanFactory beanFactory) throws BeansException {
		this.beanFactory = beanFactory;
	}
}
